import "./button.scss";

export default defineComponent({
	name: "ModeButton",
	setup() {
		return () => (
			<div class="css-p8muss">
				<button class="toolbar-button css-jp0mh7-toolbar-button" aria-label="Cycle view mode">
					<div class="css-1vzus6i-Icon">
						<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" class="css-sr6nr">
							<path d="M19,2H5A3,3,0,0,0,2,5V15a3,3,0,0,0,3,3H7.64l-.58,1a2,2,0,0,0,0,2,2,2,0,0,0,1.75,1h6.46A2,2,0,0,0,17,21a2,2,0,0,0,0-2l-.59-1H19a3,3,0,0,0,3-3V5A3,3,0,0,0,19,2ZM8.77,20,10,18H14l1.2,2ZM20,15a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V14H20Zm0-3H4V5A1,1,0,0,1,5,4H19a1,1,0,0,1,1,1Z"></path>
						</svg>
					</div>
				</button>
			</div>
		);
	}
});
